package com.zte.springboot_smbms.mapper;

import com.zte.springboot_smbms.pojo.SmbmsRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 标哥
* @description 针对表【smbms_role】的数据库操作Mapper
* @createDate 2021-12-14 10:20:44
* @Entity com.zte.pojo.SmbmsRole
*/
@Mapper
public interface SmbmsRoleMapper {
    List<SmbmsRole> findAllRole();

    List<SmbmsRole> findRoleById(Long id);

    boolean addRole(SmbmsRole role);

    boolean delRole(Long id);

    boolean updateRole(@Param("id") Long id,@Param("role") SmbmsRole role);
}




